<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="height: 500px;width: 500px;border: 1px solid gray;margin: auto;">
        <div style="width: 300px;height: 200px; border: 1px solid black;margin: auto;"></div>
        <div style="width: 300px; height: 200px; border: 1px solid gold; margin: auto;margin-top: 40px;"></div>
    </div>
</body>
</html>